<table class="table table-bordered">
    <colgroup>
        <col style="width: 20%;"></col>
        <col style="width: 80%;"></col>
    </colgroup>

    <tr>
        <th class="th-label">买家ID</th>
        <td>
            <{$data.BuyRoleID}>
            <input type="hidden" name="roleID" value="<{$data.BuyRoleID}>" />
        </td>
    </tr>
    <tr>
        <th class="th-label">冻结时间</th>
        <td>
            <input type="text" name="frozenTime" value="" class="date" />
        </td>
    </tr>
    <tr>
        <th class="th-label">道具类型</th>
        <td>
            <{$data.ItemType}>
            <input type="hidden" name="itemType" value="<{$data.ItemType}>" />
        </td>
    </tr>
    <tr>
        <th class="th-label">道具ID</th>
        <td>
            <{$data.NewItemID}>
            <input type="hidden" name="itemID" value="<{$data.NewItemID}>" />
        </td>
    </tr>
</table>

<script>
    $(function(){
        $('.date').datetimepicker({
            format: 'yyyy-mm-dd hh:ii:00',
            startDate: '<{date('Y-m-d')}>'
        });

        $("#auction-form").submit(function(){
            if(!$("[name='frozenTime']").val()){
                alert("请填写时间");
                return false;
            }
        });
    });
</script>